package pl.lsierant.j2me.bipacz.notifications;

import pl.lsierant.j2me.bipacz.persistent.IPersistent;

/**
 * This interface implements classes that represent notification type.
 * Implementations could be Beep, Vibrate etc.
 * <p>
 * All implementations should be immutable.
 */
public interface INotification extends IPersistent {
    /**
     * Returns notification type.
     * 
     * Values are from NotificationType class.
     */
    int getNotificationType();

    /**
     * Starts notification (beep, vibrate, etc.).
     */
    void run();
}
